package com.winchain.chainbill.bill.biz.discount.vo;

import com.shell.framework.utils.SysDateUtil;

public class DctCalculatedInterestQueryVO {
	private String startMonth;
	private String endMonth;
	private String month;
	private String cusType;
	private String firstDay;
	private String lastDay;
	private Integer betweenDays;
	private String curEntId;

	public String getStartMonth() {
		return this.startMonth;
	}

	public void setStartMonth(String startMonth) {
		this.startMonth = startMonth;
	}

	public String getEndMonth() {
		return this.endMonth;
	}

	public void setEndMonth(String endMonth) {
		this.endMonth = endMonth;
	}

	public String getMonth() {
		return this.month;
	}

	public void setMonth(String month) {
		this.month = month;
		String mdMonth = SysDateUtil.parseDate(month, "yyyyMM", "yyyyMMdd");
		this.firstDay = SysDateUtil.getDateOffsetWithDayType(mdMonth, 0, -1);
		this.lastDay = SysDateUtil.getDateOffsetWithDayType(mdMonth, 0, 1);
		this.betweenDays = Integer.valueOf(SysDateUtil.getDaysBetween(this.firstDay, this.lastDay) + 1);
	}

	public String getCusType() {
		return this.cusType;
	}

	public void setCusType(String cusType) {
		this.cusType = cusType;
	}

	public String getFirstDay() {
		return this.firstDay;
	}

	public void setFirstDay(String firstDay) {
		this.firstDay = firstDay;
	}

	public String getLastDay() {
		return this.lastDay;
	}

	public void setLastDay(String lastDay) {
		this.lastDay = lastDay;
	}

	public Integer getBetweenDays() {
		return this.betweenDays;
	}

	public void setBetweenDays(Integer betweenDays) {
		this.betweenDays = betweenDays;
	}

	public String getCurEntId() {
		return this.curEntId;
	}

	public void setCurEntId(String curEntId) {
		this.curEntId = curEntId;
	}
}